﻿/*
 * Created by SharpDevelop.
 * User: ratul
 * Date: 3/4/2010
 * Time: 2:10 PM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */

using System;
using CbSample = H264Impl.NET.Sample.ChromaSample;
using CrSample = H264Impl.NET.Sample.ChromaSample;

namespace H264Impl.NET.Sample
{
	/// <summary>
	/// Description of C420SampleArray.
	/// </summary>
	public class C420SampleArray : SampleArray
	{
			
		public C420SampleArray(UInt32 arrayWidth, UInt32 arrayHeight, bool separateColourPlane): base(arrayWidth, arrayHeight)
		{
	
			
			CrSampleArray = new ChromaSample[arrayWidth/2, arrayHeight/2];
			CbSampleArray = new ChromaSample[arrayWidth/2, arrayHeight/2];
		}
		
		
		ChromaSample[, ] CrSampleArray;
		ChromaSample[, ] CbSampleArray;
	}
}
